<?php
if($html->getContent('type')=='newsletter')
{
    $ajax       = true;    
    $error  = gpc_getSession('MsgError');
    $Message= gpc_getSession('SendFriendSuccess');
    gpc_removeSession('MsgError');
    gpc_removeSession('SendFriendSuccess');
    
}
else
{
    $newshtml   = BuildListNewsLetter();
    if($ajax==true)
    {
        echo showSplitPage();
        echo $newshtml;
        echo showSplitPage();
        exit;
    }
}

?>